package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.sys.SysMenu;
import com.atguigu.spzx.model.vo.sys.SysMenuVo;

import java.util.List;

public interface SysMenuService {
    List<SysMenu> listNestedMenus();

    void deleteById(Long id);

    void save(SysMenu sysMenu);

    SysMenu getById(Long id);

    void update(SysMenu sysMenu);

    List<Long> listMenuIdsByRoleId(Long roleId);

    List<SysMenuVo> listMenus();

}
